package com.backstage.discount.service.impl;

import com.backstage.discount.pojo.MobileEndDiscount;
import com.backstage.discount.mapper.MobileEndDiscountMapper;
import com.backstage.discount.service.MobileEndDiscountService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 折扣表 服务实现类
 * </p>
 *
 * @author liu-xiang
 * @since 2022-12-13
 */
@Service
public class MobileEndDiscountServiceImpl extends ServiceImpl<MobileEndDiscountMapper, MobileEndDiscount> implements MobileEndDiscountService {
    @Autowired
    private MobileEndDiscountMapper mobileEndDiscountMapper;
    @Override
    public boolean deleteByIds(List<String> ids) {
        return mobileEndDiscountMapper.deleteByIds(ids);
    }
}
